<template>
  <div>
    用户管理
    {{ userList }}
  </div>
</template>

<script>
import axios from "axios";

export default {
  data() {
    return {
      userList: []
    }
  },
  methods: {
    findAll() {
      axios.get("/project/user/findAll").then(resp => {
        this.userList = resp.data;
      });
    }
  },
  created() {
    this.findAll();
  }
}
</script>

<style scoped>

</style>